/*! @file searchdlg.h
  * @brief Defines class SearchDlg
  * @author AK
  * @date 01.07.2012
  */

#ifndef SEARCHDLG_H
#define SEARCHDLG_H

#include <QDialog>
#include "defines.h"
#include "ui_searchdlg.h"

/**
 * @brief Definition of SearchDlg Class
 *
 * @class SearchDlg searchdlg.h "PlacesParser/searchdlg.h"
 */
class SearchDlg : public QDialog,
    public Ui::SearchDlg
{
    Q_OBJECT

public:
    explicit    SearchDlg(QString column,
                       QString searchTerms,     // searchTerms
                       QDate from,              // from date
                       QDate to,                // to date
                       QWidget *parent = 0);
    ~SearchDlg();
public Q_SLOTS:

Q_SIGNALS:
    void        accepted(QString, bool, QString, QDate, QDate);

private:
    QString     header;
    QString     timeFormat;             // time format string
private Q_SLOTS:
    void        on_okClicked();
};

#endif // SEARCHDLG_H
